<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2017/10/26
  Time: 12:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_3530_TOOL_SPARE_REGISTER_TAG" /></title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
    <style>
        #topDiv{
            margin-top:20px;
        }
        #bottomDiv{
            margin-top:40px;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="col-lg-12 btnDivCss">
        <button class="btn btn btn-info"    id="query_btn"><s:message code="QUERY_BTN_TAG"/></button>
        <button class="btn btn-success"     id="save_btn"><s:message code="SAVE_TAG"/></button>
    </div>
    <div id="topDiv" class="col-lg-12 col-md-12 col-sm-12">
        <fieldset>
            <legend><s:message code="TOOL_SPARE_TAG"/></legend>
        </fieldset>
        <form  class="form-horizontal">
            <div class="form-group">
                <label class="control-label col-sm-2" for="applyType">
                    <s:message code="TOOL_SPARE_TYPE_TAG" />
                </label>
                <div class="col-sm-3">
                    <select id="applyType" class="form-control"></select>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-2" for="toolNameId">
                    <s:message code="TOOL_SPARE_TAG" />
                </label>
                <div class="col-sm-3">
                    <select id="toolNameId" class="form-control"></select>
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-sm-2" for="backDest">
                    备品备件仓
                </label>
                <div class="col-sm-3">
                    <select id="backDest" class="form-control"></select>
                </div>
            </div>

        </form>
    </div>
    <div class="col-lg-12 col-md-12 col-sm-12" id="bottomDiv">
        <ul id="mytab" class="nav nav-tabs">
            <li class="active"><a id="tab1" href="#tabPane_apply" data-toggle="tab"> <s:message code="TOOL_SPARE_APPLY_TAG" />
            </a></li>
            <li ><a id="tab2" href="#tabPane_lend" data-toggle="tab">  <s:message code="TOOL_SPARE_LEND_TAG" />
            </a></li>
        </ul>
        <div class="tab-content">
            <!-- tab1 start-->
            <div class="tab-pane active row" id="tabPane_apply"   style="margin-top: 20px">
                <div id="applyListDiv" class="col-lg-12 col-md-12 col-sm-12">
                    <table id="applyListGrd" style="height: 1px;"></table>
                    <div id="applyListPg"></div>
                </div>
            </div>
            <!-- tab1 end -->
            <!-- tab2 start-->
            <div class="tab-pane row"       id="tabPane_lend"    style="margin-top: 20px" >
                <div id="lendListDiv" class="col-lg-12 col-md-12 col-sm-12">
                    <table id="lendListGrd" style="height: 1px;"></table>
                    <div id="lendListPg"></div>
                </div>
            </div>
            <!-- tab2 end-->
        </div>
    </div>
</div>
<%@ include file="/page/comPage/comJS.html"%>
<script src="lib/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script src="lib/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="js/page/3000/3530.js"></script>
</body>
</html>
